<?php
$cssfiles = '
	<link rel="stylesheet" type="text/css" href="' . Typecho_Common::url('css/reset.source.css?v=' . $suffixVersion, $options->adminUrl) . '" /> 
	<link rel="stylesheet" type="text/css" href="' . Typecho_Common::url('css/grid.source.css?v=' . $suffixVersion, $options->adminUrl) . '" /> 
	<link rel="stylesheet" type="text/css" href="' . Typecho_Common::url('css/typecho.source.css?v=' . $suffixVersion, $options->adminUrl) . '" />';

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>Yupoo!-上传</title>
        <? echo $cssfiles;?>
		<style>
			.tyupoo_upload{
				padding:5px;
			}
			.tyupoo_upload ul li{
				margin-bottom:3px;
			}
		</style>
	</head>
	<body>
		<div class="main">
			<div>
				<ul class="typecho-option-tabs">
					<li><a href="<?php echo $out['urlAlbum']; ?>">相册</a></li>
					<li class="current"><a href="#" onclick="return false;">上传</a></li>
				</ul>
			</div>

			<div class="tyupoo_upload">
				<form action="<?php echo $out['urlUpload']?>" method="post" enctype="multipart/form-data">
					<ul class="typecho-option">
						<li>
							<label class="typecho-label" for="file-0-0">图片</label>
							<input id="file-0-0" name="imgfile" type="file" class="text" value="" />
							<!--<p class="description">站点的名称将显示在网页的标题处.</p>-->
						</li>						
						<li>
							<label class="typecho-label" for="tyupoo_album_select">相册</label>
							<?php include 'common/album_selector.php'; ?>
							<!--<p class="description">站点的名称将显示在网页的标题处.</p>-->
						</li>						
						<li>
							<label class="typecho-label" for="title-0-1">标题</label>
							<input id="title-0-1" name="title" type="text" class="text" value="" />
							<!--<p class="description">站点的名称将显示在网页的标题处.</p>-->
						</li>
						<li>
							<label class="typecho-label" for="description-0-2">描述</label>
							<textarea id="description-0-2" name="description"></textarea>
							<!--<p class="description">站点描述将显示在网页代码的头部.</p>-->
						</li>
						<li>
							<label class="typecho-label" for="tag-0-3">Tag</label>
							<input id="tag-0-3" name="tags" type="text" class="text" value="" />
							<p class="description">相册标签,使用空格分开.</p>
						</li>
						<li>
							<button type="submit">上传图片</button>
						</li>
					</ul>

				</form>
			</div>

		
		</div>
	</body>
</html>